package com.neuedu.task.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neuedu.task.dao.ITaskDAO;
import com.neuedu.task.entity.Task;
import com.neuedu.task.service.ITaskService;

@Service
public class TaskServiceImpl implements ITaskService{

	@Autowired
	private ITaskDAO taskdao;
	
	public List<Task> getTaskList(int offset,int limit) {
		
		return taskdao.selectAll(offset, limit);
	}


}
